package com.xiaoxu.intranetweb.mybatisplusSzappdb.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 单位信息表
 * </p>
 *
 * @author xiaoxu
 * @since 2022-12-27
 */
@TableName("c_companys")
@ApiModel(value = "CCompanys对象", description = "单位信息表")
@Data
public class CCompanys implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private BigDecimal cpyId;

    private String cpyCo;

    private String cpyChico;

    private String cpyShrtname;

    private String cpyCoClass;

    private String cpyLinkman;

    @ApiModelProperty("0未知1总部2分公司 3厂(成员) 4厂(非成员) 5客户单位，6最终用户")
    private Boolean cpyType;

    @ApiModelProperty("地址")
    private String cpyAddr;

    @ApiModelProperty("经度")
    private Double cpyLongitude;

    @ApiModelProperty("纬度")
    private Double cpyLatitude;

    private String cpyLinkMode;

    private String loadSite;

    private String cpyBindMobile;

    private String cpyBindPcNo;

    private String cpyRemark;

    @ApiModelProperty("最多255个字，每个矿点间用.号分开")
    private String cpyMinerals;

    private BigDecimal cpyBalance;

    private LocalDateTime svrTmstamp;

    private LocalDateTime cliTmstamp;

    private Integer cpyPass;

    @TableField("CPY_TEMP_ASH_TRUCK")
    private Integer cpyTempAshTruck;
//    CPY_QUEUE_VIP
    private Integer cpyQueueVip;

    private Integer cpyTempLock;

    private Boolean cpyTempLock2;

    private Boolean cpyTempLock3;

    private Boolean cpyTempLock4;

    private Boolean cpyTempLock5;

    private Boolean cpyPdtLock;

    private Boolean cpyPdtLock2;

    private Boolean cpyPdtLock3;

    private Boolean cpyPdtLock4;

    private Boolean cpyPdtLock5;

    private Boolean cpyCursel;

    private Boolean cpyTempout;

    private Integer cpyDeleted;

    @ApiModelProperty("当服务器断开时所增加/修改过的记录")
    private Boolean cpyNew;
    @TableField("DownedID1")
    private Integer downedID1;
    @TableField("DownedID2")
    private Integer downedID2;
    @TableField("DownedID3")
    private Integer downedID3;
    @TableField("DownedID4")
    private Integer downedID4;
    @TableField("DownedID5")
    private Integer downedID5;
    @TableField("DownedID6")
    private Integer downedID6;
    @TableField("DownedID7")
    private Integer downedID7;
    @TableField("DownedID8")
    private Integer downedID8;
    @TableField ("DownedID9")
    private Integer downedID9;
    @TableField("DownedID10")
    private Integer downedID10;
    @TableField("DownedID11")
    private Integer downedID11;
    @TableField("DownedID12")
    private Integer downedID12;
    @TableField("DownedID13")
    private Integer downedID13;
    @TableField("DownedID14")
    private Integer downedID14;
    @TableField("DownedID15")
    private Integer downedID15;
    @TableField("DownedID16")
    private Integer downedID16;
    @TableField("DownedID17")
    private Integer downedID17;
    @TableField("DownedID18")
    private Integer downedID18;
    @TableField("DownedID19")
    private Integer downedID19;
    @TableField("DownedID20")
    private Integer downedID20;

    @ApiModelProperty("数据来源厂区")
    private String dataFrom;
    }
